Skip to content

Fix BreadcrumbList structured data to use localized news index URLs#968

Merged
pethers merged 2 commits intomain-5e391782e116efe8from
copilot/sub-pr-935
Mar 9, 2026
Merged

Fix BreadcrumbList structured data to use localized news index URLs#968
pethers merged 2 commits intomain-5e391782e116efe8from
copilot/sub-pr-935

Conversation

Copy link
Contributor

Copilot AI commented Mar 9, 2026

BreadcrumbList structured data in all 13 non-English opposition motions articles pointed to generic news/index.html instead of language-specific news index pages, creating inconsistency with the visible "back to news" navigation links.

Changes

  • Updated "name" and "item" in BreadcrumbList JSON-LD for all non-EN articles to match established localization pattern from other news articles (e.g., energy security series)
// Before (all non-EN files)
"name": "News",
"item": "https://riksdagsmonitor.com/news/index.html"

// After (example: French)
"name": "Actualités",
"item": "https://riksdagsmonitor.com/news/index_fr.html"

Localized breadcrumb names: fr→Actualités, da→Nyheder, zh→新闻, de→Nachrichten, ar→الأخبار, ko→뉴스, es→Noticias, ja→ニュース, fi→Uutiset, he→חדשות, nl→Nieuws, no→Nyheter, sv→Nyheter


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

… names in all 13 non-English articles

Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot AI changed the title [WIP] Add opposition motions articles for 2026-03-09 (14 languages) Fix BreadcrumbList structured data to use localized news index URLs Mar 9, 2026
@pethers pethers marked this pull request as ready for review March 9, 2026 20:37
@pethers pethers merged commit a01c6fc into main-5e391782e116efe8 Mar 9, 2026
@pethers pethers deleted the copilot/sub-pr-935 branch March 9, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants